gtk4.git
5 years agoprintdialog: Make collate image smaller
Matthias Clasen [Sun, 30 Aug 2020 21:00:15 +0000 (17:00 -0400)]
printdialog: Make collate image smaller

This matches the appearance on GTK 3, and prevents
the checkbuttons next to the image from being spaced
out.

5 years agoprintdialog: Fix radio groups
Matthias Clasen [Sun, 30 Aug 2020 20:58:17 +0000 (16:58 -0400)]
printdialog: Fix radio groups

We need to use grouped checkbuttons now.

5 years agofontchooser: Fix radio groups for features
Matthias Clasen [Sun, 30 Aug 2020 20:41:02 +0000 (16:41 -0400)]
fontchooser: Fix radio groups for features

We need to use grouped checkbuttons now.

5 years agoChange button hierarchy
Timm Bäder [Fri, 7 Aug 2020 03:45:30 +0000 (05:45 +0200)]
Change button hierarchy

A radiobutton without indicator is really just a togglebutton with a
group.

A radiobutton with indicator is really just a checkbutton with a group.

Make checkbutton its own widget not inheriting from GtkButton.
GtkRadioButton could be removed but it stays for now.

Radiobutton && !draw-indicator => Togglebutton
Checkbutton && !draw-indicator => Togglebutton

Radiobutton && draw-indicator => CheckButton + group

5 years agorendernodes: Whitespace
Timm Bäder [Sat, 29 Aug 2020 10:03:20 +0000 (12:03 +0200)]
rendernodes: Whitespace

5 years agowayland: Fix a GSettingsSchema leak
Timm Bäder [Sat, 29 Aug 2020 09:38:07 +0000 (11:38 +0200)]
wayland: Fix a GSettingsSchema leak

5 years agogl renderer: Adjust gaussian blur sigma
Timm Bäder [Sat, 29 Aug 2020 09:30:45 +0000 (11:30 +0200)]
gl renderer: Adjust gaussian blur sigma

To look more like what browsers do.

5 years agotestoutsetshadowdrawing: Make window background white
Timm Bäder [Sat, 29 Aug 2020 09:29:55 +0000 (11:29 +0200)]
testoutsetshadowdrawing: Make window background white

This makes it easier to compare the rendering with other sources.

5 years agogl: Adjust blur radius_multiplier
Timm Bäder [Fri, 7 Aug 2020 04:43:06 +0000 (06:43 +0200)]
gl: Adjust blur radius_multiplier

2.0 Looks much closer to what my browser does.

Fixes #2777

5 years agoicon-browser: Add .navigation-sidebar to sidebar
Timm Bäder [Sat, 22 Aug 2020 15:30:30 +0000 (17:30 +0200)]
icon-browser: Add .navigation-sidebar to sidebar

5 years agogdkcairoprivate: Fix header guard
Timm Bäder [Fri, 21 Aug 2020 03:41:07 +0000 (05:41 +0200)]
gdkcairoprivate: Fix header guard

5 years agospinbutton: Whitespace
Timm Bäder [Fri, 21 Aug 2020 03:40:59 +0000 (05:40 +0200)]
spinbutton: Whitespace

5 years agobutton: Use gtk_widget_class_add_shortcut directly
Timm Bäder [Sat, 15 Aug 2020 12:27:24 +0000 (14:27 +0200)]
button: Use gtk_widget_class_add_shortcut directly

To show how that works

5 years agobutton: Whitespace
Timm Bäder [Sat, 15 Aug 2020 09:54:38 +0000 (11:54 +0200)]
button: Whitespace

5 years agotestadjustsize: Fix overlay/box confusion
Timm Bäder [Wed, 12 Aug 2020 04:55:33 +0000 (06:55 +0200)]
testadjustsize: Fix overlay/box confusion

5 years agogsk: Fix border node diff implementation
Timm Bäder [Fri, 7 Aug 2020 04:54:16 +0000 (06:54 +0200)]
gsk: Fix border node diff implementation

This was showing up in the interactive constraint demo in gtk4-demo.

5 years agogtk4-demo: Add background to CSS Basics demo
Timm Bäder [Sat, 8 Aug 2020 19:11:38 +0000 (21:11 +0200)]
gtk4-demo: Add background to CSS Basics demo

So people can at least read the textview contents

5 years agoNEWS: Updates
Matthias Clasen [Fri, 28 Aug 2020 00:49:55 +0000 (20:49 -0400)]
NEWS: Updates

5 years agoMerge branch 'synthetic-motion' into 'master'
Matthias Clasen [Thu, 27 Aug 2020 20:24:34 +0000 (20:24 +0000)]
Merge branch 'synthetic-motion' into 'master'

Synthetic motion

See merge request GNOME/gtk!2493

5 years agoidle sizer: Request a motion event after layout
Matthias Clasen [Wed, 26 Aug 2020 11:57:07 +0000 (07:57 -0400)]
idle sizer: Request a motion event after layout

When we are reallocating widgets, make sure that
we get a motion event in the next frame cycle,
so the hover state gets updated.

5 years agoUpdate Catalan translation
Jordi Mas [Thu, 27 Aug 2020 18:54:16 +0000 (20:54 +0200)]
Update Catalan translation

5 years agoAdd a function to request motion events
Matthias Clasen [Fri, 21 Feb 2020 21:38:36 +0000 (16:38 -0500)]
Add a function to request motion events

We want to ensure that the pointer position is reflected
when widget geometry changes, so add a function that tells
GDK "please create a motion event at the current position
on this surface, if one doesn't happen already".

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 27 Aug 2020 17:04:34 +0000 (17:04 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

bookmarksmanager: Cancel async reads properly

See merge request GNOME/gtk!2495

5 years agobookmarksmanager: Cancel async reads properly
Matthias Clasen [Thu, 27 Aug 2020 16:34:02 +0000 (12:34 -0400)]
bookmarksmanager: Cancel async reads properly

This was causing the objects-finalize test to fail in ci.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 27 Aug 2020 12:12:52 +0000 (12:12 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Don't export gdk_surface_constrain_size

See merge request GNOME/gtk!2494

5 years agoDon't export gdk_surface_constrain_size
Matthias Clasen [Thu, 27 Aug 2020 11:31:45 +0000 (07:31 -0400)]
Don't export gdk_surface_constrain_size

It has one last use in gtkwindow.c, but that will
go away and doesn't need this function to be exported
anyway.

5 years agoUpdate Indonesian translation
Kukuh Syafaat [Thu, 27 Aug 2020 03:03:54 +0000 (03:03 +0000)]
Update Indonesian translation

5 years agoMerge branch 'wip/carlosg/shuffle-font-mouse-settings' into 'master'
Matthias Clasen [Thu, 27 Aug 2020 00:08:45 +0000 (00:08 +0000)]
Merge branch 'wip/carlosg/shuffle-font-mouse-settings' into 'master'

Look up font and mouse settings in gsettings-desktop-schemas

See merge request GNOME/gtk!2489

5 years agoMerge branch 'wip/exalm/hotspot-fix' into 'master'
Matthias Clasen [Wed, 26 Aug 2020 23:44:15 +0000 (23:44 +0000)]
Merge branch 'wip/exalm/hotspot-fix' into 'master'

wayland: Fix dnd hotspot movement

See merge request GNOME/gtk!2492

5 years agowayland: Fix dnd hotspot movement
Alexander Mikhaylenko [Wed, 26 Aug 2020 23:04:48 +0000 (04:04 +0500)]
wayland: Fix dnd hotspot movement

_gdk_wayland_surface_offset_next_wl_buffer() moves the surface relatively
to its current position, pass it a delta instead of new position.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 26 Aug 2020 22:34:08 +0000 (22:34 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2488

5 years agogdk/wayland: Use double-click/drag-threshold settings from g-d-s
Carlos Garnacho [Wed, 26 Aug 2020 22:27:50 +0000 (00:27 +0200)]
gdk/wayland: Use double-click/drag-threshold settings from g-d-s

Handle both these settings, and the older settings-daemon ones for
backwards compatibility. The keys are already checked for existence
in the schema, so it will just use the existing ones.

5 years agogdk/wayland: Look for font settings in gsettings-desktop-schemas
Carlos Garnacho [Wed, 26 Aug 2020 22:18:09 +0000 (00:18 +0200)]
gdk/wayland: Look for font settings in gsettings-desktop-schemas

Prefer this location, but also look for the old location in
settings-daemon for backwards compatibility. This applies to both
direct settings lookups and via the settings portal.

5 years agogdk: Drop an unused vfunc
Matthias Clasen [Wed, 26 Aug 2020 22:09:47 +0000 (18:09 -0400)]
gdk: Drop an unused vfunc

5 years agogdk: Cosmetics
Matthias Clasen [Wed, 26 Aug 2020 20:55:03 +0000 (16:55 -0400)]
gdk: Cosmetics

5 years agobroadway: Fix up surface_at_position
Matthias Clasen [Wed, 26 Aug 2020 20:52:03 +0000 (16:52 -0400)]
broadway: Fix up surface_at_position

5 years agowin32: Fix return value of get_device_state
Matthias Clasen [Wed, 26 Aug 2020 20:35:28 +0000 (16:35 -0400)]
win32: Fix return value of get_device_state

We need to look a the position, not the child surface.

5 years agowayland: Drop unused argument from query_state
Matthias Clasen [Wed, 26 Aug 2020 20:33:49 +0000 (16:33 -0400)]
wayland: Drop unused argument from query_state

Now that this is backend-only api, we can just
drop unused arguments.

5 years agowayland: Fix return value of get_device_state
Matthias Clasen [Wed, 26 Aug 2020 20:32:31 +0000 (16:32 -0400)]
wayland: Fix return value of get_device_state

We need to look a the position, not the child surface.

5 years agobroadway: Drop unused argument from query_state
Matthias Clasen [Wed, 26 Aug 2020 20:28:09 +0000 (16:28 -0400)]
broadway: Drop unused argument from query_state

Now that this is backend-only api, we can just
drop unused arguments.

5 years agobroadway: Fix return value of get_device_state
Matthias Clasen [Wed, 26 Aug 2020 20:24:57 +0000 (16:24 -0400)]
broadway: Fix return value of get_device_state

We need to look a the position, not the child surface.

5 years agox11: Drop unused argument from query_state
Matthias Clasen [Wed, 26 Aug 2020 20:23:21 +0000 (16:23 -0400)]
x11: Drop unused argument from query_state

Now that this is backend-only api, we can just
drop unused arguments.

5 years agox11: Fix return value of get_device_state
Matthias Clasen [Wed, 26 Aug 2020 20:20:34 +0000 (16:20 -0400)]
x11: Fix return value of get_device_state

We need to look a the position, not the child surface.

5 years agogdk: Drop the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:09:14 +0000 (16:09 -0400)]
gdk: Drop the query_state vfunc

It is no longer used.

5 years agox11: Stop setting the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:06:11 +0000 (16:06 -0400)]
x11: Stop setting the query_state vfunc

5 years agowin32: Stop using the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:05:54 +0000 (16:05 -0400)]
win32: Stop using the query_state vfunc

5 years agomacos: Stop setting the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:05:19 +0000 (16:05 -0400)]
macos: Stop setting the query_state vfunc

5 years agowayland: Stop using the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:04:25 +0000 (16:04 -0400)]
wayland: Stop using the query_state vfunc

Just call the backend implementation directly.

5 years agobroadway: Stop using the query_state vfunc
Matthias Clasen [Wed, 26 Aug 2020 20:03:31 +0000 (16:03 -0400)]
broadway: Stop using the query_state vfunc

Just call the backend implementation directly.

5 years agoDrop _gdk_device_query_state
Matthias Clasen [Wed, 26 Aug 2020 19:38:02 +0000 (15:38 -0400)]
Drop _gdk_device_query_state

It is now unused.

5 years agomacos: Stop using _gdk_device_query_state
Matthias Clasen [Wed, 26 Aug 2020 19:33:37 +0000 (15:33 -0400)]
macos: Stop using _gdk_device_query_state

Directly use the backend implementation.

5 years agowin32: Stop using _gdk_device_query_state
Matthias Clasen [Wed, 26 Aug 2020 19:31:45 +0000 (15:31 -0400)]
win32: Stop using _gdk_device_query_state

Directly use the backend implementation.

5 years agox11: Stop using _gdk_device_query_state
Matthias Clasen [Wed, 26 Aug 2020 19:31:07 +0000 (15:31 -0400)]
x11: Stop using _gdk_device_query_state

Directly use the backend implementation.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 26 Aug 2020 18:02:18 +0000 (18:02 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3090

See merge request GNOME/gtk!2485

5 years agoMerge branch 'broadway-prune' into 'master'
Matthias Clasen [Wed, 26 Aug 2020 17:52:57 +0000 (17:52 +0000)]
Merge branch 'broadway-prune' into 'master'

broadway: Prune fully clipped render nodes

Closes #3086

See merge request GNOME/gtk!2487

5 years agobroadway: Prune fully clipped render nodes
Alexander Larsson [Wed, 26 Aug 2020 16:08:00 +0000 (18:08 +0200)]
broadway: Prune fully clipped render nodes

If some node is fully outside the clip region we don't send it to the daemon.
This helps a lot in how much data we send for scrolling viewports.

However, sending partial trees makes node reuse a bit more tricky. We
can't save for reuse any node that could possibly clip different depending on
the clip region, as that could be different next frame. So, unless the
node is fully contained in the current clip (and we thus know it is not
parial) we don't allow reusing that next frame.

This fixes #3086

5 years agoUpdate Galician translation
Fran Dieguez [Wed, 26 Aug 2020 15:42:23 +0000 (15:42 +0000)]
Update Galician translation

5 years agobroadway: Track the clip region in the renderer
Alexander Larsson [Wed, 26 Aug 2020 14:55:56 +0000 (16:55 +0200)]
broadway: Track the clip region in the renderer

If we know what can't possibly be visible we may can later decide to
not expose a node.

5 years agoMake gdk_surface_get_device_position return a boolean
Matthias Clasen [Wed, 26 Aug 2020 13:01:48 +0000 (09:01 -0400)]
Make gdk_surface_get_device_position return a boolean

A year ago, we make this function not return the child
surface anymore. But the information whether the device
is actually over the surface is still useful, and we
should not loose it.

5 years agoMerge branch 'broadway-debug-nodes' into 'master'
Timm Bäder [Wed, 26 Aug 2020 12:38:09 +0000 (12:38 +0000)]
Merge branch 'broadway-debug-nodes' into 'master'

Broadway: Fix handling of debug nodes

See merge request GNOME/gtk!2486

5 years agoBroadway: Fix handling of debug nodes
Alexander Larsson [Wed, 26 Aug 2020 12:01:00 +0000 (14:01 +0200)]
Broadway: Fix handling of debug nodes

The debug nodes have id BROADWAY_NODE_DEBUG, which happens to be "12".
So, don't hardcode the wrong number "14".

5 years agomain: Avoid a crash with crossing event handling
Matthias Clasen [Wed, 26 Aug 2020 11:26:01 +0000 (07:26 -0400)]
main: Avoid a crash with crossing event handling

We are reusing the GtkCrossingData struct for multiple
calls here, so we need to make sure that the targets
stay alive from beginning to end.

Fixes: #3090
5 years agowidget: Avoid a crash in crossing event handling
Matthias Clasen [Wed, 26 Aug 2020 11:24:54 +0000 (07:24 -0400)]
widget: Avoid a crash in crossing event handling

We need to make sure that the crossing data stays
alive until we are done handling it, so take references
on all the widgets in it.

5 years agoMerge branch 'broadway-alpha-colors' into 'master'
Emmanuele Bassi [Wed, 26 Aug 2020 11:20:03 +0000 (11:20 +0000)]
Merge branch 'broadway-alpha-colors' into 'master'

broadway: Correct handling of opaque colors

See merge request GNOME/gtk!2484

5 years agobroadway: Correct handling of opaque colors
Alexander Larsson [Wed, 26 Aug 2020 10:18:28 +0000 (12:18 +0200)]
broadway: Correct handling of opaque colors

If alpha is 255, we use rgb() instead of rgba(), not if alpha is 0.
This makes the title bar gradient go from fully transparent to blue
rather than black to blue..

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 25 Aug 2020 20:53:02 +0000 (20:53 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

fontchooser: Populate the list incrementally

See merge request GNOME/gtk!2483

5 years agoMerge branch 'ebassi/for-master' into 'master'
Emmanuele Bassi [Tue, 25 Aug 2020 20:34:18 +0000 (20:34 +0000)]
Merge branch 'ebassi/for-master' into 'master'

Ebassi/for master

See merge request GNOME/gtk!2480

5 years agoUpdated Lithuanian translation
Aurimas Černius [Tue, 25 Aug 2020 20:23:57 +0000 (23:23 +0300)]
Updated Lithuanian translation

5 years agoMerge branch 'demo-double-border-fixes' into 'master'
Matthias Clasen [Tue, 25 Aug 2020 20:19:49 +0000 (20:19 +0000)]
Merge branch 'demo-double-border-fixes' into 'master'

gtk-demo: Avoid double borders

See merge request GNOME/gtk!2478

5 years agoMerge branch 'inspector-double-border-fixes' into 'master'
Matthias Clasen [Tue, 25 Aug 2020 20:18:47 +0000 (20:18 +0000)]
Merge branch 'inspector-double-border-fixes' into 'master'

inspector: Avoid double borders

See merge request GNOME/gtk!2477

5 years agofontchooser: Populate the list incrementally
Matthias Clasen [Tue, 25 Aug 2020 19:13:39 +0000 (15:13 -0400)]
fontchooser: Populate the list incrementally

By adding 20 fonts / frame to the font list, we can
get the font chooser dialog to show up much faster.

This change gets the font chooser up in 265ms here.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 25 Aug 2020 18:29:27 +0000 (18:29 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Revert unintentional calendar change

See merge request GNOME/gtk!2482

5 years agoRevert unintentional calendar change
Matthias Clasen [Tue, 25 Aug 2020 18:12:35 +0000 (14:12 -0400)]
Revert unintentional calendar change

This was unintentionally included in c0efadc0f399d.

5 years agoa11y: Simplify the ATContext::state-change signal
Emmanuele Bassi [Tue, 25 Aug 2020 15:34:04 +0000 (16:34 +0100)]
a11y: Simplify the ATContext::state-change signal

We cannot pass all the data we pass to the virtual function, because the
types are private, but the class and the signal are public API.

The signal is just a notification, so we can decouple the virtual
function (which stays the same, for internal types that implement the
ATContext API contract) from the signal.

5 years agoAnnotate GValue-variants methods of GtkAccessible
Emmanuele Bassi [Tue, 25 Aug 2020 10:31:26 +0000 (11:31 +0100)]
Annotate GValue-variants methods of GtkAccessible

The variadic arguments methods cannot be used by language bindings,
which means we can let them use their names when calling the
GValue-based methods.

5 years agoProperly document GtkAccessible:accessible-role
Emmanuele Bassi [Tue, 25 Aug 2020 10:30:46 +0000 (11:30 +0100)]
Properly document GtkAccessible:accessible-role

Use a gtk-doc stanza, instead of the GParamSpec strings.

5 years agoa11y: Do not notify of empty state changes
Emmanuele Bassi [Wed, 5 Aug 2020 17:05:46 +0000 (18:05 +0100)]
a11y: Do not notify of empty state changes

If the ATContext state hasn't changed—for instance, if the accessible
attributes have been set to their default value, or have been set to the
same value—do not emit an accessible state change. State changes can be
arbitrarily expensive, so we want to ensure that they are meaningful.

5 years agoa11y: Notify callers when an attributes set changes
Emmanuele Bassi [Wed, 5 Aug 2020 17:04:34 +0000 (18:04 +0100)]
a11y: Notify callers when an attributes set changes

We can use that information inside the ATContext.

5 years agoa11y: GtkATContext.update_state() was renamed to update()
Emmanuele Bassi [Wed, 5 Aug 2020 14:05:06 +0000 (15:05 +0100)]
a11y: GtkATContext.update_state() was renamed to update()

5 years agoa11y: Allow bulk attribute update with the GValue API
Emmanuele Bassi [Wed, 5 Aug 2020 14:03:00 +0000 (15:03 +0100)]
a11y: Allow bulk attribute update with the GValue API

Like we do for the varargs API.

5 years agoa11y: Different value types cannot be equal
Emmanuele Bassi [Tue, 25 Aug 2020 15:32:49 +0000 (16:32 +0100)]
a11y: Different value types cannot be equal

Bail out early, instead of going deep into the GtkAccessibleValue type
equal() implementation, where we expect both accessible values to have
the same type.

5 years agoMerge branch 'adwaita-rounded-frames' into 'master'
Matthias Clasen [Tue, 25 Aug 2020 12:52:36 +0000 (12:52 +0000)]
Merge branch 'adwaita-rounded-frames' into 'master'

Adwaita: Make frames rounded

See merge request GNOME/gtk!2476

5 years agogtk-demo: Avoid double borders in the blendmodes demo
nana-4 [Thu, 6 Aug 2020 15:54:46 +0000 (00:54 +0900)]
gtk-demo: Avoid double borders in the blendmodes demo

5 years agogtk-demo: Avoid double borders in the fontrendering demo
nana-4 [Thu, 6 Aug 2020 15:54:44 +0000 (00:54 +0900)]
gtk-demo: Avoid double borders in the fontrendering demo

Replace the frame with a separator.

5 years agogtk-demo: Avoid double borders in the dnd demo
nana-4 [Thu, 6 Aug 2020 15:54:41 +0000 (00:54 +0900)]
gtk-demo: Avoid double borders in the dnd demo

Replace the frame with a separator.

5 years agogtk-demo: Avoid double borders in the panes demo
nana-4 [Thu, 6 Aug 2020 15:54:42 +0000 (00:54 +0900)]
gtk-demo: Avoid double borders in the panes demo

Using frames for the children of the panes looks bad.

5 years agoinspector: Avoid double borders in the resource tab
nana-4 [Tue, 25 Aug 2020 05:24:50 +0000 (14:24 +0900)]
inspector: Avoid double borders in the resource tab

Replace the frames with a separator.

5 years agoinspector: Avoid double borders in the accessibility tab
nana-4 [Fri, 7 Aug 2020 11:14:19 +0000 (20:14 +0900)]
inspector: Avoid double borders in the accessibility tab

Replace the frame with a separator.

5 years agoAdwaita: Make frames rounded
nana-4 [Thu, 6 Aug 2020 15:54:40 +0000 (00:54 +0900)]
Adwaita: Make frames rounded

As per GNOME mockups.

Since GtkFrame now sets GTK_OVERFLOW_HIDDEN, we can round the frame
without corner overlapping.

This also adds some margin to the child label of GtkFrame to ensure it
will not be clipped by the rounded corners of the frame.

5 years agoAdwaita: Remove a shadow-type leftover
nana-4 [Tue, 25 Aug 2020 12:12:35 +0000 (21:12 +0900)]
Adwaita: Remove a shadow-type leftover

After commit edae2a8dc500b7af29928e5eb6dfc305726ce6e0, frames always
draw frames. So, remove the unused frame.flat styling.

5 years agoMerge branch 'wip/smcv/no-yelp' into 'master'
Emmanuele Bassi [Tue, 25 Aug 2020 11:18:35 +0000 (11:18 +0000)]
Merge branch 'wip/smcv/no-yelp' into 'master'

docs: Don't build Yelp manual for bundled gtk-doc subproject

See merge request GNOME/gtk!2475

5 years agodocs: Don't build Yelp manual for bundled gtk-doc subproject
Simon McVittie [Tue, 25 Aug 2020 09:42:40 +0000 (10:42 +0100)]
docs: Don't build Yelp manual for bundled gtk-doc subproject

This adds dependencies that would otherwise be unnecessary.

Signed-off-by: Simon McVittie <smcv@debian.org>
5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 25 Aug 2020 02:37:57 +0000 (02:37 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #2979

See merge request GNOME/gtk!2474

5 years agotext: Properly handle focus moving to a descendent
Matthias Clasen [Mon, 24 Aug 2020 22:31:35 +0000 (18:31 -0400)]
text: Properly handle focus moving to a descendent

To discriminate between is-focus and contains-focus,
we need to use notify::is-focus. This makes sure
we don't get annoying warnings when the blink_cb
gets triggered on an unfocused entry.

Fixes: #2979
5 years agoemojichooser: Grab focus on map
Matthias Clasen [Mon, 24 Aug 2020 22:31:08 +0000 (18:31 -0400)]
emojichooser: Grab focus on map

This is the right thing to do, since we have a visible
entry and want text input to go there.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 24 Aug 2020 21:57:11 +0000 (21:57 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2473

5 years agocolorchooser: Fix the add_palette api
Matthias Clasen [Mon, 24 Aug 2020 21:20:17 +0000 (17:20 -0400)]
colorchooser: Fix the add_palette api

When adding a custom palette, we need to arrange
for the custom section to stay at the bottom.

Maybe there should be a way to turn off custom
colors, too.

5 years agogtk-demo: Make the color picker demo less boring
Matthias Clasen [Mon, 24 Aug 2020 21:19:36 +0000 (17:19 -0400)]
gtk-demo: Make the color picker demo less boring

Maybe the first ever use of the add_palette api.
Surprise, it doesn't work!

5 years agoUpdate British English translation
Bruce Cowan [Mon, 24 Aug 2020 18:39:24 +0000 (18:39 +0000)]
Update British English translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 24 Aug 2020 16:43:39 +0000 (16:43 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3081

See merge request GNOME/gtk!2472